home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
DATATION
/
RELIMAIL.LZH
/
HINSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-06-02
|
2KB
|
44 lines
echo off
if %2x == x goto instruct
echo This installs the Reliance Mailing List program and documentation
echo from a floppy disk in drive %1: to a hard disk, drive %2:.
echo
echo If this is NOT what you wish to do, press the Ctrl key and the C key
echo at the same time, and then type Y. Otherwise
pause
echo
echo OK, here we go. If you see error messages, enter %0 with
echo no other parameters to see instructions and then try again.
echo
echo First we'll make the directory %2:\MAIL. Don't worry if you see
echo "Unable to create directory." That means the directory already exists.
echo
md %2:\MAIL > nul
echo
echo Now we'll extract the program and documentation from the archive file.
%1:arce %1:mail23 %2:\MAIL /r
if errorlevel 1 goto badarce
goto goodarce
:badarce
echo
echo ERROR -- ARCHIVE EXTRACTION FAILED
echo Enter %0 to see instructions and then try again.
goto end
:goodarce
cd %2:\MAIL
%2:
echo
echo Installation complete. The program is on drive %2 in the subdirectory MAIL.
echo You are now in %2:\MAIL. Read the manual, MAIL230.DOC.
goto end
:instruct
echo
echo Oops -- you must enter two letters after %0. Type letters only,
echo no colons, and separate %0 and the letters with spaces.
echo The first letter is the floppy disk drive you are installing FROM.
echo The second letter is the hard disk you are installing TO.
echo For instance, to install from drive A: to drive C:, Enter:
echo
echo %0 A C
:end